package org.gap.service;

import java.util.List;
import java.util.Set;

import org.gap.domain.Patient;
import org.gap.domain.RendezVous;
import org.gap.domain.Tiers;

/**
 * Spring service that handles CRUD requests for Patient entities
 * 
 */
public interface PatientService {

	/**
	 * Delete an existing Patient entity
	 * 
	 */
	public void deletePatient(Patient patient);

	/**
	 * Load an existing Patient entity
	 * 
	 */
	public Set<Patient> loadPatients();

	/**
	 * Save an existing Patient entity
	 * 
	 */
	public void savePatient(Patient patient_1);

	/**
	 * Save an existing RendezVous entity
	 * 
	 */
	public Patient savePatientRendezVouses(Integer patPatient, RendezVous related_rendezvouses);

	/**
	 * Return all Patient entity
	 * 
	 */
	public List<Patient> findAllPatients(Integer startResult, Integer maxRows);

	/**
	 * Delete an existing Tiers entity
	 * 
	 */
	public Patient deletePatientTiers(Integer patient_patPatient, Integer related_tiers_tieTiers);

	/**
	 * Save an existing Tiers entity
	 * 
	 */
	public Patient savePatientTiers(Integer patPatient_1, Tiers related_tiers);

	/**
	 */
	public Patient findPatientByPrimaryKey(Integer patPatient_2);

	/**
	 * Delete an existing RendezVous entity
	 * 
	 */
	public Patient deletePatientRendezVouses(Integer patient_patPatient_1, Integer related_rendezvouses_rdvRendezVous);

	/**
	 * Return a count of all Patient entity
	 * 
	 */
	public Integer countPatients();
}